package com.smedi.ismedi.dangeroussourcemanage.core.application.convert;

import com.smedi.ismedi.dangeroussourcemanage.core.application.command.TimeLineCommand;
import com.smedi.ismedi.dangeroussourcemanage.core.domain.aggregatemodel.TimeLine;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * @author yangzhenzhou
 * @date 2022/11/10
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface AppConverter {

    TimeLine timeLineCommandToTimeLine(TimeLineCommand timeLineCommand);
}
